home *** CD-ROM | disk | FTP | other *** search
- /* this script queries for the currently loaded brush */
-
- /* -- if an AnimPoint is not running, complain ---------------------------- */
-
- if pos('ANIMPOINT', (show(ports))) = 0 then do
- say "AnimPoint server not running."
- exit 5
- end
-
- /* -- see if there is an animation loaded --------------------------------- */
-
- options results
- address ANIMPOINT
-
- get loaded; loaded = result
- get animfile; animfile = result
- get colors; colors = result
-
- if loaded = 0 then
- say "No anim pointer is currently loaded."
- else do
- say "An anim pointer is loaded."
- say " Name = "||animfile
- say " Colors = "||colors
- end
-
-
-
-